extends layout

block content
	script(src="./ckeditor/ckeditor.js")
	link(rel='stylesheet', href='./stylesheets/editor.css')
	.container-fluid
		.row-fluid
			.span3
				.well.sidebar-nav
					li.nav-header 管理
					ul.nav.nav-list
						if pageName === '/editor'
							li.active
								a(href='/editor') 添加新文章
						else
							li
								a(href='/editor') 添加新文章
						if pageName === '/list'				
							li.active
								a(href='/list') 文章列表
						else
							li
								a(href='/list') 文章列表
	script.
		CKEDITOR.replace( 'editor1' );
